updates deprecated github actions #195
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: BuildingDepot | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
architecture: x64 | |
- name: Display Python version | |
run: python --version | |
- name: Install BuildingDepot | |
run: | | |
sudo bash -x ./script_for_github_actions.sh | |
- name: Initialize tests | |
run: | | |
cd benchmarking-tools/functional-testing-tool | |
npm install | |
- name: Run tests | |
run: | | |
cd benchmarking-tools/functional-testing-tool | |
npm test ./tests/all.js |