Feat/policy refactor (#3) (v4.0.0 compatible) #867
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
name: ADF CI | |
on: [push, pull_request] | |
env: | |
CI_BUILD: 1 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.12"] | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 150 | |
fetch-tags: true | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set the correct Node version using nvm | |
shell: bash -l {0} | |
run: nvm install | |
- name: Test compatibility of source dependencies | |
run: | | |
make clean src_deps | |
echo "Source dependencies are compatible!" | |
- name: Run tox | |
run: | | |
make clean tox | |
- name: Build fully | |
run: | | |
make clean build |